var express = require('express');
var router = express.Router();

const { getAllClaims ,deleteOneClaim,changeStatus,AddOneByApply,getOneClaim,updateOneClaim} = require('../controllers/claims');

router.get('/getAllClaims', getAllClaims);
router.post('/deleteOneClaim', deleteOneClaim);
router.post('/changeStatus', changeStatus);
router.post('/AddOneByApply', AddOneByApply);
router.post('/getOneClaim', getOneClaim);
router.post('/updateOneClaim', updateOneClaim);



module.exports = router;